package com.tcenter.services;

import com.tcenter.dao.entities.User;
import com.tcenter.dao.entities.UserRole;

import java.util.List;

/**
 * User: Andrey Pautov
 * Date: 5/26/13
 */
public interface UserService<T extends User> extends BaseService<T>  {

    T getByEmail(String email);
    List<UserRole> getRolesById(Integer id);

}
